package com.csdn.leon.model;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonProperty;



public abstract class Entity implements Serializable{
	@JsonProperty("id")
	protected String id;

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
	
	// 缓存的key
	protected String cacheKey;

	public String getCacheKey() {
		return cacheKey;
	}

	public void setCacheKey(String cacheKey) {
		this.cacheKey = cacheKey;
	}
}
